﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace greenwerkz.PlantMonitor
{
    public partial class frmComment : Form
    {
        FrmMain myParent = null;
        public frmComment()
        {
            InitializeComponent();
        }
        public frmComment(FrmMain myParent)
        {
            InitializeComponent();
            this.myParent = myParent;

        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            //call the ws to save
            /*
            myParent.WsPlant.insertPlantComment(
                myParent.CurrentPlantID
                , txtPlantComment.Text
                , myParent.UserID);
             * */
            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
